package com.zhangtai.modules.entity.leave;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-12-07 20:08:14
 */
@Data
@TableName("tb_distribute_leave")
public class DistributeLeaveEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 
		 */
			private Long oid;
			/**
		 * 姓名
		 */
			@ApiModelProperty("姓名")
			private String name;
			/**
		 * 
		 */
			private Long orgId;
			/**
		 * 
		 */
			private Long unitId;
			/**
		 * 
		 */
			private Long jobId;
			/**
		 * 
		 */
			private String code;
			/**
		 * 请假开始时间
		 */
			@ApiModelProperty("请假开始时间")
			private Date leaveBeginTime;
			/**
		 * 请假结束时间
		 */
			@ApiModelProperty("请假结束时间")
			private Date leaveEndTime;
			/**
		 * 请假时长
		 */
			@ApiModelProperty("请假时长")
			private String leaveTime;
			/**
		 * 文件url
		 */
			@ApiModelProperty("文件url")
			private String fileUrls;
			/**
		 * 说明
		 */
			@ApiModelProperty("说明")
			private String reason;
			/**
		 * 
		 */

			private Integer isDelete;
			/**
		 * 审批状态 0待发起 1：审批中 2：审批通过 3：审批拒绝
		 */
			@ApiModelProperty("审批状态 0待发起 1：审批中 2：审批通过 3：审批拒绝")
			private Integer status;
			/**
		 * bpm链接
		 */
			@ApiModelProperty("bpm链接")
			private String checkUrl;
	
}
